﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyOrder.aspx.cs" Inherits="Mobile_New_MyOrder" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=2.0,maximum-scale=1,user-scalable=no" />

    <link rel="stylesheet" type="text/css" href="../New/swiper/css/idangerous.swiper.css" />
    <link rel="stylesheet" type="text/css" href="../New/css/index.css" />
    <script type="text/javascript" src="../New/js/index.js"></script>
    <title></title>
    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        a, img, button, input, textarea {
            -webkit-tap-highlight-color: rgba(255,255,255,0);
        }

            a:active {
                outline: hidden;
            }

        .a_header {
            width: 100%;
            height: 50px;
            background: #fff;
            position: fixed;
            top: 0px;
            left: 0px;
            border-bottom: 1px solid #ddd;
        }

            .a_header .header_middle {
                width: 100%;
                height: 50px;
                line-height: 50px;
                text-align: center;
                font-size: 20px;
            }

            .a_header .a_header_l1 .h_l1 {
                width: 35px;
                height: 25px;
                background: url("../images/header_02.png") no-repeat;
                background-size: 10px 15px;
                margin: 16px 0px 0px 15px;
                position: absolute;
            }

            .a_header .a_header_l1 .h_l2 {
                width: 60px;
                height: 45px;
                position: fixed;
                left: 35px;
                top: 16px;
                color: #000;
                font-size: 14px;
            }

        body {
            background: #f0f0f0;
        }



        .content {
            padding-top: 50px;
        }

        .middle {
            width: 100%;
            height: 100%;
            overflow: hidden;
            color: #999;
            background: #fff;
        }

            .middle img {
                opacity: .6;
            }

        .middle_fuzhi {
            margin-top: 6px;
        }

        .middle .middle_top {
            width: 100%;
            height: 30px;
            line-height: 30px;
            background: #fff;
        }

            .middle .middle_top .middle_top_1 {
                width: 90%;
                height: 30px;
                border-bottom: 1px solid #ececec;
                margin: 0 auto;
                font-size: 12px;
                color: #000;
            }

        .middle .middle_1 {
            width: 100%;
            height: 140px;
            border-bottom: 1px solid #ececec;
        }

            .middle .middle_1 li {
                float: left;
                margin: 15px 0px 0px 15px;
            }

                .middle .middle_1 li img {
                    width: 100px;
                    height: 95px;
                }

        .footer {
            width: 100%;
            height: 50px;
            background: #fff;
            border-bottom: 1px solid #ececec;
        }

            .footer .div_l {
                width: 80%;
                float: left;
                height: 50px;
                line-height: 50px;
                text-indent: 15px;
                font-size: 13px;
            }

            .footer .div_r {
                width: 20%;
                float: left;
                height: 50px;
                line-height: 20px;
                font-size: 13px;
            }

                .footer .div_r .price {
                    margin-top: 3px;
                }

        .div_footer {
            text-align: center;
            color: #888;
            margin-top: 25px;
            background: #f0f0f0;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="a_header">
            <a href="GoodsList.aspx">
                <div class="a_header_l1">
                    <div class="h_l1"></div>
                    <div class="h_l2">
                        返回
				
                    </div>
                </div>
            </a>

            <div class="header_middle">
                我的订单		
            </div>
        </div>

        <div class="content">
            <div class="middle">

                <asp:Repeater runat="server" ID="rptOrder">
                    <ItemTemplate>
                        <div class="middle_top">
                            <div class="middle_top_1">
                               <%# Convert.ToDateTime(Eval("MicroOrderCreateTime")).ToString("yyyy-MM-dd hh:mm:ss") %>
				
                            </div>
                        </div>
                        <a href="OrderDetail.aspx?orderid=<%# Eval("MicroOrderID") %>">
                            <div class="footer">

                                <div class="div_l">
                                    <span>订单号:<%# Eval("MicroOrderAccount") %></span>
                                </div>
                                <div class="div_r">
                                    <ul>
                                        <li class="price">￥<%# Convert.ToDecimal(Eval("MicroOrderTotalMoney")).ToString("0.00") %></li>

                                        <li>查看详情</li>

                                    </ul>

                                </div>

                            </div>
                        </a>
                    </ItemTemplate>
                </asp:Repeater>

            </div>
            <div class="div_footer" id="msg" runat="server">
                没有更多了
            </div>
        </div>
        <input type="hidden" id="memid" runat="server" />
    </form>
</body>
<script type="text/javascript" src="../New/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../New/js/xxl.base.js"></script>
<script>
    window.onload = function () {
        var userid = getCookie("uid");
        if (userid == null || userid == "") {
            alert("请先登录");
            location.href = "../New/Login.aspx";
        }
        else {
            $("#memid").val(userid);
        }
    }
</script>
</html>
